/*
----------------------------------------
Time:2018/3/31
Author:Jason
1.reset
2.公用模块
3.内容模块
4.Nav模块
5.页尾模块
6.字体模块
----------------------------------------*/

/*Reset模块*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
    display: none;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*=======
公用模块
=======*/
.float-left{
    float:left;
}
.float-right{
    float: right;
}
.clear-fix{overflow:hidden;_zoom:1;}
ul,ul>li{
    list-style: none;
}
a:hover,a:link,a:active,a:visited{
    text-decoration: none;
    color: black;
    -moz-transition: all 1s ease 0s;
    -webkit-transition:all 1s ease 0s;
    transition:all 1s ease 0s;
    -o-transition:all 1s ease 0s;
}
a:hover{
    color: red;
}
.transition{
    -moz-transition: all 1s ease 0s;
    -webkit-transition:all 1s ease 0s;
    transition:all 1s ease 0s;
    -o-transition:all 1s ease 0s;
}

/*=======
内容模块 适配
=======*/
html {
    font-size: 62.5%; /*10 ÷ 16 × 100% = 62.5%*/
}

body {
    font-size: 1.4rem; /*1.4 × 10px = 14px */
    overflow-x:hidden;
}

h1 {
    font-size: 2.4rem; /*2.4 × 10px = 24px*/
}

h5 {
    font-size: 1.7rem!important;
}

H6 {
    font-size: 1.4rem!important;
   margin-left: 8px;
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media screen and (max-device-width: 400px) {
    .navbar-brand img{
        width: 150px!important;
        margin-top:10px;
    }
    /*nav—bar在小屏幕上表现*/
    .float-right{
        float: none;
    }
    .nav-item{
        padding: 0!important;
        line-height: 55px!important;;
    }
}
@media screen and (max-device-width: 470px) {
    .navbar-brand img{
        width: 150px!important;
        margin-top:10px;
    }


}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    nav{
        margin-top:20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }nav{
         margin-top:30px;
     }

}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    nav{
        margin-top:40px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    nav{
        margin-top:40px;
    }
}
.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

}
.col-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
.col-3 h5{
    padding: 1rem;
}
.col-3 h6{
     padding: 0.7rem;
 }
.text-center{
    text-align: center;
}
.p-3{
    padding:10px;
}
.img_index{
    background-size: cover;
}
/*=======
Nav模块
=======*/

.nav-item{
    float:left;
    padding: 1rem;
}
.b{
    border:1px solid red;
}

/*=======
页尾模块
=======*/
footer{
    padding: 20px;
}
.nav_ul{
    display:flex;
    justify-content: center;
}
.text-left {
    text-align: left !important;
}
/*=======
web字体文件
=======*/
@font-face {
    font-family: 'font-cn';
    src : url('font-cn.ttf');
    src:
            url('font-cn.eot?#font-spider') format('embedded-opentype'),
            url('font-cn.woff') format('woff'),
            url('font-cn.ttf') format('truetype'),
            url('font-cn.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
body{
    font-family: 'font-cn';
}




